The TUnitReply Structure
You use theTUnitReply
structure to specify the data being sent with theOTSndUReply
function and the data being read with theOTRcvUReply
function. You pass a pointer to theTUnitReply
structure as a parameter to each of these functions. When sending data you must initialize thebuf
andlen
fields of all theTNetbufs
. When receiving data, you must initialize thebuf
andmaxlen
fields of all theTNetbufs
.The
TUnitReply
structure is defined by theTUnitReply
data type.
struct TUnitReply { TNetbuf addr; TNetbuf opt; TNetbuf udata; OTSequence sequence; }; typedef struct TUnitReplyTUnitReply;
Field Description
addr
- A
TNetbuf
structure for address information.opt
- A
TNetbuf
structure for option information associated with this reply.udata
- A
TNetbuf
structure for reply data.sequence
- A 32-bit value that specifies the transaction ID for this transaction.